<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    let m = 599;
    let x =parseInt(m / 100);
    let y =parseInt((m % 100) / 10);
    let k = m % 10;k
    console.log("百位：" + x); 
    console.log("十位：" + y); 
    console.log("个位：" + k);
</script>
</body>
</html>